feat: add deployment

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-12-27 21:12:51 +01:00
parent a093c7830d
commit aca5838d54
6 changed files with 66 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
version: '3'
services:
postgres:
image: bitnami/postgresql:16
env_file:
- .config.env
- .secrets.env
labels:
logging: promtail
restart: always
ports:
- 14123:5432
volumes:
- /mnt/HC_Volume_100137529/%%name%%/data/postgres/:/bitnami/postgresql
%%name%%:
image: kasperhermansen/%%name%%:main-1701810207
command: %%name%% serve
depends_on:
- postgres
env_file:
- .config.env
- .secrets.env
labels:
logging: promtail
ports:
- 14000:3000