diff options
author | Jonas Kohl | 2024-09-08 17:53:55 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-08 17:53:55 +0200 |
commit | 415a0a96a76afbe7f1ad2f51862641793caf1b6c (patch) | |
tree | 1168316bff6a2ec04ee27db5ada5431ba6631ce4 /compose.yml |
Initial commit
Diffstat (limited to 'compose.yml')
-rw-r--r-- | compose.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..eb4f8c7 --- /dev/null +++ b/compose.yml @@ -0,0 +1,19 @@ +services: + app: + build: . + restart: unless-stopped + depends_on: + - db + ports: + - 8313:80 + volumes: + - "./src/:/var/www/html/:ro" + db: + image: postgres + restart: unless-stopped + ports: + - 5432:5432 + environment: + POSTGRES_PASSWORD: "postgres" + volumes: + - ./data/db:/var/lib/postgresql/data |