50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
services:
|
|
smartconnect7:
|
|
build:
|
|
context: .
|
|
args:
|
|
- CATALINA_HOME=${CATALINA_HOME}
|
|
- SC_PUBLISHED_HOST=${SC_PUBLISHED_HOST}
|
|
- SC_FILESTORE_LOCATION=${SC_FILESTORE_LOCATION}
|
|
- SC_SERVER_ADMIN=${SC_SERVER_ADMIN}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
- DNS_CLOUDFLARE_API_TOKEN=${DNS_CLOUDFLARE_API_TOKEN}
|
|
container_name: SMARTConnect7
|
|
depends_on:
|
|
- pgsql-postgis
|
|
volumes:
|
|
- catalina_home:${CATALINA_HOME}
|
|
- sc_filestore:${SC_FILESTORE_LOCATION}
|
|
- letsencrypt:/etc/letsencrypt
|
|
networks:
|
|
- frontend
|
|
- backend
|
|
ports:
|
|
- "8443:8443"
|
|
stdin_open: true
|
|
tty: true
|
|
pgsql-postgis:
|
|
container_name: pgsql-postgis
|
|
image: postgis/postgis:11-2.5
|
|
environment:
|
|
PGDATA: /pgdata
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
volumes:
|
|
- pgdata:/pgdata
|
|
- ./db:/docker-entrypoint-initdb.d
|
|
networks:
|
|
- backend
|
|
ports:
|
|
- "5432:5432"
|
|
stdin_open: true
|
|
tty: true
|
|
|
|
networks:
|
|
frontend:
|
|
backend:
|
|
|
|
volumes:
|
|
catalina_home:
|
|
sc_filestore:
|
|
letsencrypt:
|
|
pgdata: |