mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
45 lines
913 B
YAML
45 lines
913 B
YAML
# The base docker-compose
|
|
version: "3.8"
|
|
services:
|
|
cf-phx:
|
|
command: /app/bin/cf_phx start
|
|
image: cloudfirellc/cloudfire:latest
|
|
environment:
|
|
DATABASE_URL: ecto://postgres:postgres@db/cloudfire
|
|
|
|
# !! WARNING !!
|
|
# Change this for production systems!
|
|
# !!!!!!!!!!!!!
|
|
SECRET_KEY_BASE: vw5YEoG6Pb7mCQEC41DjJXIB6v1/tOxO+3YLN+5k+PILkcFMN54g22KXZr6o65Bn
|
|
ports:
|
|
- 4000:4000
|
|
networks:
|
|
- cloudfire
|
|
|
|
system-engine:
|
|
command: /app/bin/system_engine start
|
|
image: cloudfirellc/cloudfire:latest
|
|
networks:
|
|
- cloudfire
|
|
|
|
db:
|
|
networks:
|
|
- cloudfire
|
|
image: postgres:12
|
|
volumes:
|
|
- pg-data:/var/lib/postgresql/data
|
|
environment:
|
|
# !! WARNING !!
|
|
# Change this for production systems!
|
|
# !!!!!!!!!!!!!
|
|
POSTGRES_PASSWORD: postgres
|
|
ports:
|
|
- 5432:5432
|
|
|
|
|
|
volumes:
|
|
pg-data:
|
|
|
|
networks:
|
|
cloudfire:
|