added mailhog for dev authentication of apps... removed nginx and branched
This commit is contained in:
+12
-13
@@ -9,7 +9,11 @@ services:
|
||||
environment:
|
||||
database__client: sqlite3
|
||||
database__connection__filename: /var/lib/ghost/content/data/ghost.db
|
||||
url: http://localhost:8080/ghost/
|
||||
url: http://localhost:2368/
|
||||
mail__transport: SMTP
|
||||
mail__options__host: mailhog
|
||||
mail__options__port: 1025
|
||||
mail__options__service: MailHog
|
||||
mail__from: '"Your Site" <no-reply@localhost>'
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
@@ -29,7 +33,8 @@ services:
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- FORGEJO__server__ROOT_URL=http://localhost:8080/forgejo/
|
||||
- FORGEJO__server__ROOT_URL=http://localhost:3000/
|
||||
- FORGEJO__service__DISABLE_REGISTRATION=false
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- fold-network
|
||||
@@ -53,18 +58,12 @@ services:
|
||||
networks:
|
||||
- fold-network
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
container_name: nginx_dev
|
||||
mailhog:
|
||||
image: mailhog/mailhog:latest
|
||||
container_name: mailhog_dev
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- ./nginx/dev/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./nginx/dev/default.conf:/etc/nginx/conf.d/default.conf
|
||||
- ./volumes:/usr/share/nginx/html
|
||||
depends_on:
|
||||
- ghost
|
||||
- forgejo
|
||||
- "1025:1025" # SMTP port
|
||||
- "8025:8025" # Web UI port
|
||||
networks:
|
||||
- fold-network
|
||||
|
||||
|
||||
Reference in New Issue
Block a user