Updates
This commit is contained in:
+1
-1
@@ -88,5 +88,5 @@ RUN bash -c "echo -e 'secret\nsecret' | passwd -q root"
|
|||||||
|
|
||||||
# VOLUME [ "/sys/fs/cgroup" ]
|
# VOLUME [ "/sys/fs/cgroup" ]
|
||||||
|
|
||||||
CMD ["/lib/systemd/systemd"]
|
CMD ["/sbin/init", "--log-target=console"]
|
||||||
# CMD [ "init", "--log-target=console", "--log-level=debug", "--crash-shell" ]
|
# CMD [ "init", "--log-target=console", "--log-level=debug", "--crash-shell" ]
|
||||||
|
|||||||
+10
-5
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
www:
|
www:
|
||||||
@@ -7,11 +6,17 @@ services:
|
|||||||
dockerfile: ./Dockerfile
|
dockerfile: ./Dockerfile
|
||||||
tty: true
|
tty: true
|
||||||
ports:
|
ports:
|
||||||
- 8090:80
|
- 0.0.0.0:8282:22
|
||||||
- 8093:443
|
- 8280:80
|
||||||
- 8099:10000
|
- 8281:443
|
||||||
|
- 8283:10000
|
||||||
|
|
||||||
|
# Fallback if systemd is not working
|
||||||
# command: '/bin/bash -c "trap : TERM INT; sleep infinity & wait"'
|
# command: '/bin/bash -c "trap : TERM INT; sleep infinity & wait"'
|
||||||
command: "/sbin/init --log-target=console --log-level=debug --crash-shell"
|
# To debug systemd
|
||||||
|
# command: "/sbin/init --log-target=console --log-level=debug --crash-shell"
|
||||||
|
# Production command
|
||||||
|
command: "/sbin/init --log-target=console"
|
||||||
environment:
|
environment:
|
||||||
# container: docker
|
# container: docker
|
||||||
container: podman
|
container: podman
|
||||||
|
|||||||
Reference in New Issue
Block a user