-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.example.yml
56 lines (55 loc) · 1.62 KB
/
docker-compose.override.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# ================================
#
# Make a copy of this file and name it `docker-compose.override.yml`, then
# choose one among the following configurations and uncomment the lines.
# Finally cross your fingers and run `INITIAL=1 docker-compose up`.
# MINIMAL CONFIGURATION
# ~~~~~~~~~~~~~~~~~~~~~
#
# Visit http://localhost:8000/ to access the Django dev server and
# http://localhost:3000/ to access the Webpack dev server.
#
# version: '3.4'
# services:
# backend:
# ports:
# - 127.0.0.1:8000:8000
#
# PONTSUN CONFIGURATION
# ~~~~~~~~~~~~~~~~~~~~~
#
# Set up pontsun (https://github.com/liip/pontsun) and start it. Then visit
# https://defivelo.docker.test/ to access the Webpack dev server.
#
# version: '3.4'
# x-environment:
# &x-environment
# ALLOWED_HOSTS: >-
# defivelo.docker.test
# x-build-args: &x-build-args
# # USER_ID: 1001 # Set if your dev user is non-1000
# # GROUP_ID: 1001 # Set if your dev group is non-1000
# services:
# backend:
# environment:
# <<: *x-environment
# SSH_AUTH_SOCK: /.ssh-agent/proxy-socket
# build:
# args:
# <<: *x-build-args
# volumes:
# - pontsun_sshagent_socket_dir:/.ssh-agent
# networks:
# - default
# - pontsun
# labels:
# # With traefik 2.8~
# - 'traefik.enable=true'
# - 'traefik.http.routers.defivelo.entrypoints=http,https'
# - 'traefik.http.routers.defivelo.middlewares=https_redirect@file'
# - 'traefik.http.routers.defivelo.rule=Host(`defivelo.docker.test`)'
# - 'traefik.http.services.defivelo.loadbalancer.server.port=8000'
# networks:
# pontsun:
# external:
# name: pontsun