1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- version: '3'
- services:
- database:
- container_name: database
- hostname: database
- image: bitnami/mariadb:10.9
- environment:
- - MARIADB_EXTRA_FLAGS=--max-connect-errors=100 --max_connections=155
- - MARIADB_ROOT_USER=master
- - MARIADB_ROOT_PASSWORD=Izene@123
- - MARIADB_DATABASE=craft
- - MARIADB_SKIP_TEST_DB=yes
- - MARIADB_REPLICATION_MODE=master
- - MARIADB_REPLICATION_USER=repl
- - MARIADB_REPLICATION_PASSWORD=izene123
- - MARIADB_USER=beejay
- - MARIADB_PASSWORD=964682
- volumes:
- - ./data/mariadb:/bitnami/mariadb
- - ./mariadb.cnf:/opt/bitnami/mariadb/conf/my_custom.cnf:ro
- ports:
- - "3306:3306"
- restart: unless-stopped
- gotrue:
- container_name: gotrue
- image: bitnami/gotrue:1.0.1
- hostname: gotrue
- env_file:
- - gotrue.env
- volumes:
- - ./migrations:/usr/local/etc/gotrue/migrations
- ports:
- - "9999:9999"
- command: ["multi"]
- zitadel:
- restart: 'unless-stopped'
- image: 'ghcr.io/zitadel/zitadel:latest'
- command: 'start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled'
- environment:
- - 'ZITADEL_DATABASE_COCKROACH_HOST=crdb'
- - 'ZITADEL_EXTERNALSECURE=false'
- depends_on:
- crdb:
- condition: 'service_healthy'
- ports:
- - '8080:8080'
- crdb:
- restart: 'unless-stopped'
- image: 'cockroachdb/cockroach:v22.2.2'
- command: 'start-single-node --insecure'
- healthcheck:
- test: [ "CMD", "curl", "-f", "http://localhost:8080/health?ready=1" ]
- interval: '10s'
- timeout: '30s'
- retries: 5
- ports:
- - '8081:8080'
- - '26257:26257'
- router:
- container_name: router
- image: ghcr.io/apollographql/router:v1.24.0
- volumes:
- - ./prod-schema.graphql:/etc/config/supergraph.graphql:ro
- - ./router.yaml:/etc/config/configuration.yaml:ro
- command:
- [
- "-c",
- "/etc/config/configuration.yaml",
- "-s",
- "/etc/config/supergraph.graphql",
- "--log",
- "info",
- "--hot-reload",
- "--anonymous-telemetry-disabled",
- "--listen",
- "0.0.0.0:8080"
- ]
- ports:
- - "8080:8080"
- - "9090:9090"
- restart: unless-stopped
|