docker-compose.yml
· 544 B · YAML
Raw
services:
ripe-atlas:
image: jamesits/ripe-atlas:latest
restart: always
environment:
RXTXRPT: "yes"
volumes:
- "./etc/ripe-atlas:/etc/ripe-atlas"
- "./run/ripe-atlas:/run/ripe-atlas"
- "./var/spool/ripe-atlas:/var/spool/ripe-atlas"
cap_drop:
- ALL
cap_add:
- NET_RAW
- KILL
- SETUID
- SETGID
- CHOWN
- FOWNER
- DAC_OVERRIDE
mem_reservation: 64m
logging:
driver: json-file
options:
max-size: 2m
network_mode: "host"
1 | services: |
2 | ripe-atlas: |
3 | image: jamesits/ripe-atlas:latest |
4 | restart: always |
5 | environment: |
6 | RXTXRPT: "yes" |
7 | volumes: |
8 | - "./etc/ripe-atlas:/etc/ripe-atlas" |
9 | - "./run/ripe-atlas:/run/ripe-atlas" |
10 | - "./var/spool/ripe-atlas:/var/spool/ripe-atlas" |
11 | cap_drop: |
12 | - ALL |
13 | cap_add: |
14 | - NET_RAW |
15 | - KILL |
16 | - SETUID |
17 | - SETGID |
18 | - CHOWN |
19 | - FOWNER |
20 | - DAC_OVERRIDE |
21 | mem_reservation: 64m |
22 | logging: |
23 | driver: json-file |
24 | options: |
25 | max-size: 2m |
26 | network_mode: "host" |
run.sh
· 440 B · Bash
Raw
#!/bin/sh
docker run --name ripe-atlas --restart always -e RXTXRPT=yes -v ./etc/ripe-atlas:/etc/ripe-atlas -v ./run/ripe-atlas:/run/ripe-atlas -v ./var/spool/ripe-atlas:/var/spool/ripe-atlas --cap-drop=ALL --cap-add=NET_RAW --cap-add=KILL --cap-add=SETUID --cap-add=SETGID --cap-add=CHOWN --cap-add=FOWNER --cap-add=DAC_OVERRIDE --memory-reservation=64m --log-driver=json-file --log-opt max-size=2m --network host jamesits/ripe-atlas:latest
1 | #!/bin/sh |
2 | docker run --name ripe-atlas --restart always -e RXTXRPT=yes -v ./etc/ripe-atlas:/etc/ripe-atlas -v ./run/ripe-atlas:/run/ripe-atlas -v ./var/spool/ripe-atlas:/var/spool/ripe-atlas --cap-drop=ALL --cap-add=NET_RAW --cap-add=KILL --cap-add=SETUID --cap-add=SETGID --cap-add=CHOWN --cap-add=FOWNER --cap-add=DAC_OVERRIDE --memory-reservation=64m --log-driver=json-file --log-opt max-size=2m --network host jamesits/ripe-atlas:latest |