Add volumes to gitea #63
@ -19,7 +19,7 @@ services:
|
|||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "gitea.local:host-gateway"
|
- "gitea.local:host-gateway"
|
||||||
volumes:
|
volumes:
|
||||||
- ./gitea:/data
|
- gitea-data:/data
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
# TODO: remove fixed host port number
|
# TODO: remove fixed host port number
|
||||||
@ -40,7 +40,7 @@ services:
|
|||||||
entrypoint: bash
|
entrypoint: bash
|
||||||
command: -c 'usermod -u ${CERC_HOST_UID:-1000} postgres;groupmod -g ${CERC_HOST_GID:-1000} postgres;exec /usr/local/bin/docker-entrypoint.sh postgres'
|
command: -c 'usermod -u ${CERC_HOST_UID:-1000} postgres;groupmod -g ${CERC_HOST_GID:-1000} postgres;exec /usr/local/bin/docker-entrypoint.sh postgres'
|
||||||
volumes:
|
volumes:
|
||||||
- ./postgres:/var/lib/postgresql/data
|
- postgres-data:/var/lib/postgresql/data
|
||||||
|
|
||||||
runner:
|
runner:
|
||||||
image: cerc/act-runner:local
|
image: cerc/act-runner:local
|
||||||
@ -55,7 +55,15 @@ services:
|
|||||||
- "gitea.local:host-gateway"
|
- "gitea.local:host-gateway"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- ./act-runner:/data
|
- act-runner-data:/data
|
||||||
- ./config:/config:ro
|
- act-runner-config:/config:ro
|
||||||
ports:
|
ports:
|
||||||
- 8088:8088
|
- 8088:8088
|
||||||
|
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
gitea-data:
|
||||||
|
postgres-data:
|
||||||
|
act-runner-data:
|
||||||
|
act-runner-config:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user