Commit dccb74

2025-07-27 21:23:35 mvbingham: added gogs
/dev/null .. docker compose files/gogs.md
@@ 0,0 1,34 @@
+ # Gogs
+
+ docker compose file
+
+ ```yaml
+ services:
+ postgres:
+ image: postgres:latest
+ container_name: postgres
+ restart: unless-stopped
+ environment:
+ - POSTGRES_USER=gogs
+ - POSTGRES_PASSWORD=p4ssw0rd # IMPORTANT: Change this password
+ - POSTGRES_DB=gogs
+ ports:
+ - "5432:5432"
+ volumes:
+ - ./db-data:/var/lib/postgresql/data
+ gogs:
+ image: gogs/gogs:latest
+ container_name: gogs
+ restart: unless-stopped
+ ports:
+ - "3005:3000" # UI
+ - "10022:22" # SSH
+ links:
+ - postgres
+ environment:
+ - TZ="Europe/Prague" # IMPORTANT: Change this timezone if needed
+ volumes:
+ - ./gogs-data:/data
+ depends_on:
+ - postgres
+ ```
\ No newline at end of file
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9