diff options
Diffstat (limited to 'misc/compose.yaml')
| -rw-r--r-- | misc/compose.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/misc/compose.yaml b/misc/compose.yaml new file mode 100644 index 0000000..1fccb81 --- /dev/null +++ b/misc/compose.yaml @@ -0,0 +1,36 @@ +name: sellershut + +services: + database: + image: docker.io/postgres:18.1-alpine + restart: always + shm_size: 128mb + environment: + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-password} + PGDATA: /data/postgres + ports: + - 5432:5432 + networks: + - sellershut + volumes: + - db:/data/postgres + healthcheck: + test: ["CMD-SHELL", "pg_isready -U postgres"] + interval: 10s + timeout: 5s + retries: 3 + + adminer: + image: docker.io/adminer:5.4.1 + restart: always + ports: + - 8080:8080 + networks: + - sellershut + +volumes: + db: + driver: local + +networks: + sellershut: |
