generated from coop-cloud/example
51 lines
936 B
YAML
51 lines
936 B
YAML
---
|
|
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
image: statping/statping:v0.90.74
|
|
networks:
|
|
- proxy
|
|
- backend
|
|
depends_on:
|
|
- db
|
|
volumes:
|
|
- statping:/app
|
|
#configs:
|
|
# - source: entrypoint_conf
|
|
# target: /docker-entrypoint.sh
|
|
# mode: 0555
|
|
secrets:
|
|
- db_password
|
|
environment:
|
|
VIRTUAL_HOST: localhost
|
|
VIRTUAL_PORT: 8080
|
|
DB_CONN: sqlite
|
|
NAME: ${SITE_NAME}
|
|
DESCRIPTION: ${SITE_DESCRIPTION}
|
|
|
|
#postgres:
|
|
# image: postgres:10
|
|
# networks:
|
|
# - backend
|
|
# volumes:
|
|
# - postgressql:/var/lib/postgresql/data
|
|
# environment:
|
|
# POSTGRES_PASSWORD: password123
|
|
# POSTGRES_USER: statup
|
|
# POSTGRES_DB: statup
|
|
|
|
volumes:
|
|
statping:
|
|
#postgresql:
|
|
|
|
#configs:
|
|
# entrypoint_conf:
|
|
# name: ${STACK_NAME}_entrypoint_conf_${ENTRYPOINT_CONF_VERSION}
|
|
# file: entrypoint.sh.tmpl
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
backend:
|