Update docker-compose.yml to include necessary setup commands and directories

This commit is contained in:
2024-05-25 08:00:30 +08:00
parent 0222a4d3ef
commit 57d08b3bd2
2 changed files with 6 additions and 16 deletions
+6 -2
View File
@@ -32,8 +32,12 @@ This simple project uses Traefik as a reverse proxy to a Streamlit application a
## Production Deployment
1. In `compose/traefik/traefik.yml`, change `example@test.com` to your email.
2. In `compose/traefik/traefik.yml`, change `example.com` to your domain.
3. `docker compose -f production.yml -f ./flarum/docker-compose.yml -f ./emqx-docker/docker-compose.yml -f ./LibreChat/docker-compose.yml -f ./LibreChat/docker-compose.override.yml up --build -d`
4. `docker compose -f production.yml -f ./flarum/docker-compose.yml -f ./emqx-docker/docker-compose.yml -f ./LibreChat/docker-compose.yml -f ./LibreChat/docker-compose.override.yml down --remove-orphans`
3. `sudo apt-get install build-essential`
4. `mdkir ~/st-sync`
5. `mdkir ~/.thelounge`
6. `touch cache/bar_cache.sqlite`
7. `touch cache/short_cache.sqlite`
8. `make serve`
### Notes:
```yaml
-14
View File
@@ -355,20 +355,6 @@ services:
networks:
- net
# msmtpd:
# image: crazymax/msmtpd:latest
# container_name: flarum_msmtpd
# env_file:
# - "./msmtpd.env"
# environment:
# - "TZ"
# restart: always
# expose:
# - 2500
# networks:
# - net
# - default
portainer:
image: portainer/portainer-ce:sts
command: -H unix:///var/run/docker.sock