Compare commits
4 Commits
04491e66cb
...
Docker_new
| Author | SHA1 | Date | |
|---|---|---|---|
| b0e3ce34be | |||
|
|
686c20491b | ||
| 7b4d8da577 | |||
| df490d84c9 |
@@ -1,9 +1,9 @@
|
||||
version: '3'
|
||||
|
||||
networks:
|
||||
vpn_uplink:
|
||||
External:
|
||||
external: true
|
||||
behind_proxy:
|
||||
AppsExternal:
|
||||
external: true
|
||||
|
||||
services:
|
||||
@@ -20,7 +20,7 @@ services:
|
||||
- 4000:3000
|
||||
shm_size: "1gb"
|
||||
networks:
|
||||
vpn_uplink:
|
||||
Apps:
|
||||
ipv4_address: 10.23.0.222
|
||||
behind_proxy:
|
||||
AppsExternal:
|
||||
restart: unless-stopped
|
||||
|
||||
53
gitea.yml
Normal file
53
gitea.yml
Normal file
@@ -0,0 +1,53 @@
|
||||
version: "2"
|
||||
|
||||
networks:
|
||||
behind_proxy:
|
||||
external: true
|
||||
postgress_db_net:
|
||||
external: true
|
||||
|
||||
services:
|
||||
gitea_app:
|
||||
image: gitea/gitea:latest
|
||||
container_name: gitea_app
|
||||
environment:
|
||||
- GITEA__database__DB_TYPE=postgres
|
||||
- GITEA__database__HOST=gitea_pg_db:5432
|
||||
- GITEA__database__NAME=gitea
|
||||
- GITEA__database__USER=gitea
|
||||
- GITEA__database__PASSWD=gitea
|
||||
volumes:
|
||||
- ~/docker_volumes/gitea/data:/data
|
||||
# - ~/docker_volumes/gitea/data:/var/lib/gitea
|
||||
- ~/docker_volumes/gitea/config:/etc/gitea
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3333:3000"
|
||||
- "2222:22"
|
||||
- "22222:2222"
|
||||
networks:
|
||||
behind_proxy:
|
||||
postgress_db_net:
|
||||
restart: unless-stopped
|
||||
# depends_on:
|
||||
# - db
|
||||
|
||||
#
|
||||
# Separated DB, rollback this. Keep app and DB within the same compose project.
|
||||
# Move compose and docker volumes into same folde. Use git to track changes in the compose files.
|
||||
#
|
||||
|
||||
# db:
|
||||
# image: postgres:14-alpine
|
||||
# container_name: gitea_db
|
||||
# restart: always
|
||||
# environment:
|
||||
# - POSTGRES_USER=gitea
|
||||
# - POSTGRES_PASSWORD=gitea
|
||||
# - POSTGRES_DB=gitea
|
||||
# volumes:
|
||||
# - ~/docker_volumes/postgres:/var/lib/postgresql/data
|
||||
# networks:
|
||||
# behind_proxy:
|
||||
# restart: unless-stopped
|
||||
19
portainer_agent/docker-compose.yml
Normal file
19
portainer_agent/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '3'
|
||||
|
||||
networks:
|
||||
infra_out:
|
||||
external: true
|
||||
|
||||
services:
|
||||
portainer:
|
||||
image: portainer/agent:latest
|
||||
container_name: portainer-agent
|
||||
volumes:
|
||||
- ~/docker_volumes/portainer_agent/data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- "9001:9001"
|
||||
networks:
|
||||
infra_out:
|
||||
ipv4_address: 10.23.0.10
|
||||
restart: always
|
||||
Reference in New Issue
Block a user