You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- version: '2'
- services:
- db:
- image: postgres:9.5
- volumes:
- - postgresql:/var/lib/postgresql/data
- backend:
- build: ./backend
- expose:
- - '8000'
- links:
- - db
- volumes:
- - ./backend:/backend
- environment:
- DATABASE_ENGINE: 'django.db.backends.postgresql'
- DATABASE_NAME: 'postgres'
- DATABASE_USER: 'postgres'
- DATABASE_PASSWORD: ''
- DATABASE_HOST: 'db'
- DATABASE_PORT: '5432'
- command: python manage.py runserver 0.0.0.0:8000
- frontend:
- build: ./frontend
- volumes:
- - ./frontend:/frontend
- - node_modules:/frontend/node_modules
- nginx:
- build: ./nginx
- ports:
- - '80:80'
- - '443:443'
- volumes:
- - ./nginx/ssl:/certificates
- volumes_from:
- - backend
- links:
- - backend
- - frontend
- environment:
- - DOMAIN=localhost
- volumes:
- postgresql:
- node_modules:
|