1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Files
wrestlingdev.com/deploy/docker-compose-prod-full-stack.yml

54 lines
858 B
YAML

version: "3.3"
networks:
database:
caching:
volumes:
mysql:
services:
app:
image: wrestlingdev-prod
ports:
- "80:80"
- "443:443"
networks:
database:
caching:
restart: always
env_file:
- ./prod.env
healthcheck:
test: curl --insecure https://127.0.0.1/
db:
image: mysql:5.7
ports:
- "3306:3306"
volumes:
- mysql:/var/lib/mysql
restart: always
env_file:
- ./prod.env
networks:
database:
worker:
image: wrestlingdev-prod
networks:
database:
caching:
restart: always
env_file:
- ./prod.env
healthcheck:
test: kill -0 1
command: bundle exec rake jobs:work RAILS_ENV=production
memcached:
image: memcached:1.5
mem_limit: 64000000
restart: always
networks:
caching: