| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- version: '3'
- services:
- nginx:
- container_name: nantum-vtn-nginx
- ports:
- - 443:443
- image: nginx:latest
- volumes:
- - "./nginx.conf:/etc/nginx/conf.d/default.conf"
- - "./ssl.crt:/etc/ssl/ssl.crt"
- - "./ssl.key:/etc/ssl/ssl.key"
- - "./clientssl.crt:/etc/ssl/clientssl.crt"
- depends_on:
- - nodejs
- restart: unless-stopped
- db:
- container_name: nantum-vtn-db
- expose:
- - 5432
- # ports:
- # - 55432:5432
- image: postgres:9.5
- volumes:
- - postgres_data:/var/lib/postgresql/data
- environment:
- POSTGRES_DB: vtn_test
- POSTGRES_USER: vtn
- POSTGRES_PASSWORD: vtn
- restart: unless-stopped
- nodejs:
- container_name: nantum-vtn-nodejs
- build: .
- depends_on:
- - db
- restart: on-failure
- environment:
- NODE_ENV: development
- DB_URL: postgres://vtn:vtn@nantum-vtn-db:5432/vtn_test
- NO_AWS: 'true'
- PORT: 8080
- volumes:
- postgres_data:
|