atst/docker-compose.yml
dandds ef8fd2fa41 Put Dockerfile in repo root for ease of use.
Most build tools (i.e., the CircleCI Orbs) expect a Dockerfile in the
repo root. Rather than have to configure an exception everywhere, put it
where most people/tools expect it to be.
2019-07-14 16:00:09 -04:00

28 lines
559 B
YAML

version: '3.7'
services:
backend:
build:
context: .
dockerfile: ./Dockerfile
volumes:
- ./ssl:/opt/atat/atst/ssl
- ./config:/opt/atst/atst/config
- sockets:/var/run/uwsgi
environment:
PGHOST: host.docker.internal
REDIS_URI: "redis://host.docker.internal:6379"
frontend:
image: nginx:1.13-alpine
volumes:
- ./deploy/docker/sample.nginx.conf:/etc/nginx/conf.d/default.conf:ro
- sockets:/var/run/uwsgi
depends_on:
- backend
ports:
- 8080:80
volumes:
sockets: