mirror of
https://github.com/minoplhy/docker-ripe-atlas.git
synced 2025-04-21 12:26:59 +00:00
change WORKDIR before entrypoint
This commit is contained in:
parent
af51ad4f55
commit
39a4353937
@ -52,7 +52,7 @@ RUN chmod +x /usr/local/bin/* \
|
||||
&& chown -R ripe-atlas:ripe-atlas /opt/ripe-atlas \
|
||||
&& chmod 777 /opt/ripe-atlas
|
||||
|
||||
WORKDIR /var/atlas-probe
|
||||
WORKDIR /
|
||||
VOLUME [ "/etc/ripe-atlas", "/run/ripe-atlas/status", "/var/spool/ripe-atlas" ]
|
||||
|
||||
ENTRYPOINT [ "tini", "--", "entrypoint.sh" ]
|
||||
|
@ -1,29 +1,30 @@
|
||||
services:
|
||||
ripe-atlas:
|
||||
image: jamesits/ripe-atlas:latest
|
||||
restart: always
|
||||
environment:
|
||||
RXTXRPT: "yes"
|
||||
volumes:
|
||||
- "/var/atlas-probe/etc:/var/atlas-probe/etc"
|
||||
- "/var/atlas-probe/status:/var/atlas-probe/status"
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- CHOWN
|
||||
- SETUID
|
||||
- SETGID
|
||||
- DAC_OVERRIDE
|
||||
- NET_RAW
|
||||
mem_limit: "64000000000"
|
||||
mem_reservation: 64m
|
||||
labels:
|
||||
- "traefik.enable=false"
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 10m
|
||||
# network_mode: "host" # if possible, avoid double NAT
|
||||
# security_opt:
|
||||
# - seccomp:unconfined
|
||||
services:
|
||||
ripe-atlas:
|
||||
image: ghcr.io/minoplhy/docker-ripe-atlas:latest
|
||||
restart: always
|
||||
environment:
|
||||
RXTXRPT: "yes"
|
||||
volumes:
|
||||
- "./etc:/etc/ripe-atlas"
|
||||
- "./run:/run/ripe-atlas/status"
|
||||
- ./spool:/var/spool/ripe-atlas
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- CHOWN
|
||||
- SETUID
|
||||
- SETGID
|
||||
- DAC_OVERRIDE
|
||||
- NET_RAW
|
||||
mem_limit: "64000000000"
|
||||
mem_reservation: 64m
|
||||
labels:
|
||||
- "traefik.enable=false"
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 10m
|
||||
# network_mode: "host" # if possible, avoid double NAT
|
||||
# security_opt:
|
||||
# - seccomp:unconfined
|
||||
|
Loading…
x
Reference in New Issue
Block a user