mirror of
https://github.com/AppFlowy-IO/AppFlowy-Cloud.git
synced 2025-04-24 05:47:07 -04:00
This commit allows the port to be controlled using environment variables without having to edit the file which can be troublesome as this app is deployed as a git repo. Additionaly this commits removes the `version` field which is now deprecated (read: https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete)
39 lines
925 B
YAML
39 lines
925 B
YAML
# Non-essential additional services
|
|
|
|
services:
|
|
tunnel:
|
|
image: cloudflare/cloudflared
|
|
restart: unless-stopped
|
|
command: tunnel --no-autoupdate run
|
|
environment:
|
|
- TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}
|
|
|
|
portainer:
|
|
restart: on-failure
|
|
image: portainer/portainer-ce:latest
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
portainer_init:
|
|
depends_on:
|
|
- portainer
|
|
image: alpine/curl
|
|
restart: on-failure
|
|
environment:
|
|
- PORTAINER_PASSWORD=${PORTAINER_PASSWORD}
|
|
volumes:
|
|
- ./docker/portainer/setup.sh:/setup.sh
|
|
command: ./setup.sh
|
|
|
|
pgadmin:
|
|
restart: on-failure
|
|
image: dpage/pgadmin4
|
|
environment:
|
|
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL}
|
|
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD}
|
|
volumes:
|
|
- ./docker/pgadmin/servers.json:/pgadmin4/servers.json
|
|
|
|
volumes:
|
|
postgres_data:
|
|
minio_data:
|