diff options
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 |