38 lines
769 B
YAML
38 lines
769 B
YAML
services:
|
|
|
|
proxy-nginx:
|
|
|
|
image: nginx-with-tools
|
|
container_name: proxy-nginx
|
|
restart: always
|
|
|
|
|
|
networks:
|
|
- proxy-net
|
|
|
|
environment:
|
|
TZ: Europe/Warsaw
|
|
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
|
|
volumes:
|
|
# Nginx configuration
|
|
- apps-data:/etc/nginx/conf.d
|
|
|
|
|
|
# Lets encrypt for https
|
|
- ${DOCKER_DATA}/letsencrypt:/letsencrypt:rw
|
|
- ${DOCKER_DATA}/letsencrypt-tmp:/var/www/certbot/:rw
|
|
|
|
volumes:
|
|
apps-data:
|
|
external: true
|
|
|
|
networks:
|
|
proxy-net:
|
|
name: proxy-net
|
|
external: false
|
|
# docker compose --profile base --profile base-dv --profile production --file 3.jenkins-with-docker-compose.yml --env-file artik-docker.env up --detach
|