codex2
This commit is contained in:
26
docker-compose.yml
Executable file → Normal file
26
docker-compose.yml
Executable file → Normal file
@@ -5,6 +5,7 @@ services:
|
||||
POSTGRES_DB: pricewatch
|
||||
POSTGRES_USER: pricewatch
|
||||
POSTGRES_PASSWORD: pricewatch
|
||||
TZ: Europe/Paris
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
@@ -12,11 +13,36 @@ services:
|
||||
|
||||
redis:
|
||||
image: redis:7
|
||||
environment:
|
||||
TZ: Europe/Paris
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- pricewatch_redisdata:/data
|
||||
|
||||
api:
|
||||
build: .
|
||||
ports:
|
||||
- "8001:8000"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
PW_DB_HOST: postgres
|
||||
PW_REDIS_HOST: redis
|
||||
TZ: Europe/Paris
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
|
||||
frontend:
|
||||
build: ./webui
|
||||
ports:
|
||||
- "3000:80"
|
||||
environment:
|
||||
TZ: Europe/Paris
|
||||
depends_on:
|
||||
- api
|
||||
|
||||
volumes:
|
||||
pricewatch_pgdata:
|
||||
pricewatch_redisdata:
|
||||
|
||||
Reference in New Issue
Block a user