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.
57 lines
1.3 KiB
57 lines
1.3 KiB
version: "3"
|
|
|
|
services:
|
|
frontend:
|
|
build:
|
|
context: ./treetalker
|
|
dockerfile: ../docker/Dockerfile.frontend
|
|
environment:
|
|
- USE_LOCAL_CA=1 # TODO: disable and put real certs in ./letsencrypt
|
|
- CERTBOT_EMAIL="admin@treetalker.guideget.ru"
|
|
volumes:
|
|
- ./nginx_conf.d:/etc/nginx/user_conf.d
|
|
- ./letsencrypt:/etc/letsencrypt
|
|
restart: unless-stopped
|
|
ports:
|
|
#- "80:80"
|
|
#- "443:443"
|
|
- "1000:443" # TODO: delete
|
|
|
|
backend:
|
|
build:
|
|
context: ./treetalker/nodejs
|
|
dockerfile: ../../docker/Dockerfile.backend
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:3010:3010"
|
|
|
|
db:
|
|
build:
|
|
context: ./init_db
|
|
dockerfile: ../docker/Dockerfile.db
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_PASSWORD: "toCHANGE" # TODO: change to real password
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
ports:
|
|
- "5432:5432"
|
|
|
|
ppga:
|
|
image: "bitnami/phppgadmin:7.13.0"
|
|
restart: unless-stopped
|
|
environment:
|
|
DATABASE_HOST: "db"
|
|
DATABASE_PORT_NUMBER: "5432"
|
|
|
|
martin:
|
|
image: "urbica/martin:pr-360"
|
|
environment:
|
|
DATABASE_URL: "postgres://postgres:toCHANGE@db/spatial" # TODO: change to real password
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000"
|
|
|
|
volumes:
|
|
postgres_data:
|