Compare commits

...

15 Commits

4 changed files with 52 additions and 1 deletions

View File

@ -1,2 +1,3 @@
# docker-infrastructure # docker-infrastructure
test

View File

@ -2,11 +2,12 @@ version: "3"
services: services:
server: server:
image: gitea/gitea:latest image: gitea/gitea:1.20.4
container_name: gitea container_name: gitea
environment: environment:
- USER_UID=1000 - USER_UID=1000
- USER_GID=1000 - USER_GID=1000
- LANG=ru-RU
restart: always restart: always
volumes: volumes:
- /mnt/containers/gitea/container-data/data:/data:Z - /mnt/containers/gitea/container-data/data:/data:Z

View File

@ -4,6 +4,8 @@ services:
image: oxidized/oxidized:latest image: oxidized/oxidized:latest
container_name: oxidized container_name: oxidized
privileged: true privileged: true
environment:
CONFIG_RELOAD_INTERVAL: 600
# ports: # ports:
# - 8888:8888 # - 8888:8888
volumes: volumes:

View File

@ -0,0 +1,47 @@
services:
ss-client:
image: shadowsocks/shadowsocks-libev:latest
container_name: ss-client
command: ss-local
-s ${OUTLINE_SERVER_IP}
-p ${OUTLINE_SERVER_PORT}
-k ${OUTLINE_SERVER_ACCESS_KEY}
-m chacha20-ietf-poly1305
-l 1080
-b 0.0.0.0
networks:
- proxy_network
restart: unless-stopped
sysctls:
- net.ipv6.conf.all.disable_ipv6=1
- net.ipv6.conf.default.disable_ipv6=1
- net.ipv6.conf.lo.disable_ipv6=1
socks-proxy:
image: serjs/go-socks5-proxy:v0.0.1
container_name: socks-proxy
ports:
- "1081:1080"
environment:
- PROXY_USER=${PROXY_USER}
- PROXY_PASSWORD=${PROXY_PASSWORD}
- SOCKS5_HOST=ss-client
- SOCKS5_PORT=1080
- PROXY_NEED_AUTH=true
- ENABLE_IPV6=false
networks:
- proxy_network
restart: unless-stopped
sysctls:
- net.ipv6.conf.all.disable_ipv6=1
- net.ipv6.conf.default.disable_ipv6=1
- net.ipv6.conf.lo.disable_ipv6=1
depends_on:
- ss-client
networks:
proxy_network:
external: true
enable_ipv6: false
driver_opts:
com.docker.network.enable_ipv6: "false"