first commit
This commit is contained in:
28
docker-compose.yaml
Normal file
28
docker-compose.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
screenshot-api:
|
||||
build: .
|
||||
container_name: screenshot-api
|
||||
ports:
|
||||
- "80:80"
|
||||
environment:
|
||||
- API_SECRET=my_secret_key
|
||||
- REDIS_URL=redis://redis:6379
|
||||
depends_on:
|
||||
- redis
|
||||
networks:
|
||||
- screenshot-network
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
container_name: screenshot-redis
|
||||
restart: always
|
||||
ports:
|
||||
- "6379:6379"
|
||||
networks:
|
||||
- screenshot-network
|
||||
|
||||
networks:
|
||||
screenshot-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user