mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
services:
|
|
# autoglue:
|
|
# image: ghcr.io/glueops/autoglue:latest
|
|
# build:
|
|
# context: .
|
|
# dockerfile: Dockerfile
|
|
# ports:
|
|
# - 8080:8080
|
|
# expose:
|
|
# - 8080
|
|
# env_file: .env
|
|
# environment:
|
|
# AUTOGLUE_DATABASE_DSN: postgres://autoglue:autoglue@postgres:5432/autoglue
|
|
# AUTOGLUE_BIND_ADDRESS: 0.0.0.0
|
|
# depends_on:
|
|
# - postgres
|
|
|
|
postgres:
|
|
build:
|
|
context: postgres
|
|
env_file: .env
|
|
environment:
|
|
POSTGRES_USER: $DB_USER
|
|
POSTGRES_PASSWORD: $DB_PASSWORD
|
|
POSTGRES_DB: $DB_NAME
|
|
expose:
|
|
- 5432
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
pgweb:
|
|
image: sosedoff/pgweb@sha256:8f1ed22e10c9da0912169b98b62ddc54930dc39a5ae07b0f1354d2a93d44c6ed
|
|
restart: always
|
|
ports:
|
|
- "8081:8081"
|
|
links:
|
|
- postgres:postgres
|
|
env_file: .env
|
|
environment:
|
|
DATABASE_URL: postgres://$DB_USER:$DB_PASSWORD@postgres:5432/$DB_NAME
|
|
depends_on:
|
|
- postgres
|
|
|
|
mailpit:
|
|
image: axllent/mailpit@sha256:7b687e9fbc26252866580819733f2dce47edde9b6bf4444da3321fdd06932f02
|
|
restart: always
|
|
ports:
|
|
- "1025:1025"
|
|
- "8025:8025"
|
|
|
|
volumes:
|
|
postgres_data:
|