2023-05-30 03:12:22 +03:00
|
|
|
version: "3.8"
|
2018-10-08 14:03:04 +03:00
|
|
|
|
|
|
|
services:
|
2018-10-24 14:00:45 +03:00
|
|
|
frontend:
|
2018-10-11 17:28:20 +03:00
|
|
|
build:
|
2018-10-24 14:00:45 +03:00
|
|
|
context: ./frontend
|
|
|
|
dockerfile: Dockerfile
|
2018-10-08 14:03:04 +03:00
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
2018-10-17 13:30:25 +03:00
|
|
|
- tiles
|
2022-09-16 16:27:42 +03:00
|
|
|
ports:
|
2023-05-30 03:12:22 +03:00
|
|
|
- "80:80"
|
2018-10-24 14:00:45 +03:00
|
|
|
|
2018-10-17 13:30:25 +03:00
|
|
|
tiles:
|
2018-10-08 14:03:04 +03:00
|
|
|
image: urbica/martin
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
2018-10-17 13:30:25 +03:00
|
|
|
- DATABASE_URL=postgres://postgres@db/db
|
2018-10-08 14:03:04 +03:00
|
|
|
depends_on:
|
|
|
|
- db
|
2018-10-24 14:00:45 +03:00
|
|
|
|
2018-10-08 14:03:04 +03:00
|
|
|
db:
|
2018-10-15 19:39:45 +03:00
|
|
|
build:
|
2018-10-24 14:00:45 +03:00
|
|
|
context: ./db
|
|
|
|
dockerfile: Dockerfile
|
2018-10-08 14:03:04 +03:00
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- POSTGRES_DB=db
|
|
|
|
- POSTGRES_USER=postgres
|
2022-09-16 16:27:42 +03:00
|
|
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
2018-10-08 14:03:04 +03:00
|
|
|
volumes:
|
2018-10-24 14:00:45 +03:00
|
|
|
- ./db/db:/var/lib/postgresql/data
|
|
|
|
- ./db/initdb:/docker-entrypoint-initdb.d
|