Open loranger opened 2 years ago
I mount my volume like this which is persistent to the root of my docker host:
- /data/webserver:/var/www/html/workspace/Main
Then, when Atheos first loads and asks to create a new user I type "Main" in the project name and then "Main" in the folder input field. Now everything loads in my persistent volume on my docker host.
And then all of my web application containers use that same folder "/data/webserver" to mount their web files
Hello,
Im'a trying to use Atheos from docker-compose file, but I can't make it work. Actually Atheos runs, but I cannot load any workspace or data…
I use docker-compose files behind traefik reverse proxy. Here is my setup
docker-compose.yml
```yml version: '3' services: atheos: image: hlsiira/atheos:latest container_name: atheos restart: unless-stopped env_file: - .env volumes: - ./projects:/var/www/html/workspace:rw labels: - "traefik.http.routers.atheos.entrypoints=http" - "traefik.http.routers.atheos.rule=Host(`atheos.mydomain`)" - "traefik.http.routers.atheos.middlewares=redirect-without-www@file,redirect-to-https@file" - "traefik.http.routers.atheos-secure.entrypoints=https" - "traefik.http.routers.atheos-secure.rule=Host(`atheos.mydomain`)" - "traefik.http.routers.atheos-secure.tls=true" - "traefik.http.routers.atheos-secure.tls.certresolver=letsencrypt" - "traefik.http.routers.atheos-secure.middlewares=redirect-without-www@file" - "com.centurylinklabs.watchtower.enable=true" networks: default: name: web ```As you can see I try to mount my projects into
/var/www/html/workspace
folder, but Atheos does not seems to recognize it. What did I miss ?