You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
481 B
25 lines
481 B
# docker compose -f docker-compose.yml up -d --build
|
|
|
|
version: "3.3"
|
|
services:
|
|
weatherapp:
|
|
restart: always
|
|
container_name: weatherapp
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/Amsterdam
|
|
- FLASK_ENV=production
|
|
- FLASK_APP=main.py
|
|
ports:
|
|
- target: 5000
|
|
published: 5901
|
|
protocol: tcp
|
|
build:
|
|
dockerfile: ./Dockerfile
|
|
env_file:
|
|
- .env
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|