ads / docker-compose.yml
rastof9's picture
Update docker-compose.yml
a4c023f verified
raw
history blame contribute delete
609 Bytes
version: '3.8'
services:
web:
build: .
ports:
- "5000:5000"
environment:
INSTANCE_PATH: /tmp/instance
depends_on:
- redis
- postgres
- selenium-hub
selenium-hub:
image: selenium/hub
ports:
- "4444:4444"
chrome-node:
image: selenium/node-chrome
shm_size: 2gb
depends_on:
- selenium-hub
redis:
image: redis:alpine
ports:
- "6379:6379"
postgres:
image: postgres:14
environment:
POSTGRES_PASSWORD: example
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
postgres_data: