mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-02 13:15:27 +00:00
Added env variables and a production docker setup
This commit is contained in:
21
deploy/docker-compose-common.yml
Normal file
21
deploy/docker-compose-common.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
app:
|
||||
image: wrestlingdev
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
jobs:
|
||||
image: wrestlingdev
|
||||
command: bundle exec rake:jobs
|
||||
db:
|
||||
image: mysql:5.5
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- /srv/docker/mysql:/var/lib/mysql
|
||||
|
||||
email:
|
||||
image: postfix
|
||||
|
||||
memcached:
|
||||
image: memcached
|
||||
mem_limit: 64000000
|
||||
Reference in New Issue
Block a user