-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-https.yaml
More file actions
46 lines (46 loc) · 1.04 KB
/
docker-compose-https.yaml
File metadata and controls
46 lines (46 loc) · 1.04 KB
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
name: code-server
services:
code-server:
environment:
- PASSWORD=password
- PGID=1000
- PUID=1000
- TZ=Europe/London
image: docker.io/sund3rrr/code-server:latest
restart: unless-stopped
volumes:
- type: bind
source: ./code-server/coder
target: /home/coder
- type: bind
source: ./code-server/nix
target: /nix
- type: bind
source: ./Workspace
target: /home/coder/Workspace
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
networks:
- code-server
privileged: false
nginx:
image: docker.io/nginx:latest
ports:
- target: 443
published: "443"
protocol: tcp
restart: unless-stopped
volumes:
- type: bind
source: ./nginx/certs
target: /etc/nginx/certs
- type: bind
source: ./nginx/nginx.conf
target: /etc/nginx/nginx.conf
networks:
- code-server
privileged: false
networks:
code-server:
name: code-server