added mailhog for dev authentication of apps... removed nginx and branched
This commit is contained in:
+12
-13
@@ -9,7 +9,11 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
database__client: sqlite3
|
database__client: sqlite3
|
||||||
database__connection__filename: /var/lib/ghost/content/data/ghost.db
|
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>'
|
mail__from: '"Your Site" <no-reply@localhost>'
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
@@ -29,7 +33,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- USER_UID=1000
|
- USER_UID=1000
|
||||||
- USER_GID=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
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- fold-network
|
- fold-network
|
||||||
@@ -53,18 +58,12 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- fold-network
|
- fold-network
|
||||||
|
|
||||||
nginx:
|
mailhog:
|
||||||
image: nginx:alpine
|
image: mailhog/mailhog:latest
|
||||||
container_name: nginx_dev
|
container_name: mailhog_dev
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "1025:1025" # SMTP port
|
||||||
volumes:
|
- "8025:8025" # Web UI port
|
||||||
- ./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
|
|
||||||
networks:
|
networks:
|
||||||
- fold-network
|
- fold-network
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user