File tree 3 files changed +10
-6
lines changed 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -36,5 +36,3 @@ EXPOSE 8080
36
36
EXPOSE 2022
37
37
38
38
WORKDIR /home/root/wings
39
-
40
- CMD ["/bin/bash" ]
Original file line number Diff line number Diff line change @@ -54,11 +54,12 @@ services:
54
54
stdin_open : true
55
55
networks :
56
56
- pterodactyl
57
- # ports:
58
- # - "2022:2022"
57
+ ports :
58
+ - " 2022:2022"
59
59
volumes :
60
60
- ./code/wings:/home/root/wings
61
- - wings_data:/var/lib/pterodactyl
61
+ - go_modules:/root/go
62
+ - /var/lib/pterodactyl:/var/lib/pterodactyl
62
63
- /var/run/docker.sock:/var/run/docker.sock:ro
63
64
labels :
64
65
- " traefik.enable=true"
@@ -130,7 +131,7 @@ volumes:
130
131
driver : local
131
132
minio :
132
133
driver : local
133
- wings_data :
134
+ go_modules :
134
135
driver : local
135
136
136
137
x-mutagen :
Original file line number Diff line number Diff line change 15
15
mkcert -install
16
16
mkcert pterodactyl.test wings.pterodactyl.test minio.pterodactyl.test s3.minio.pterodactyl.test
17
17
18
+ # Because we're doing Docker-in-Docker we actually need these paths to line
19
+ # up correctly with the host system.
20
+ sudo mkdir -p /var/lib/pterodactyl
21
+ sudo chown $( id -u) :$( id -g) /var/lib/pterodactyl
22
+
18
23
mv -v * pterodactyl.test* -key.pem docker/certificates/pterodactyl.test-key.pem || exit 1
19
24
mv -v * pterodactyl.test* .pem docker/certificates/pterodactyl.test.pem || exit 1
20
25
cp -v " $( mkcert -CAROOT) /rootCA.pem" docker/certificates/root_ca.pem || exit 1
You can’t perform that action at this time.
0 commit comments