networks: transcendance-network: driver: bridge services: # # The "entry point" as in it does all of this: # - serve files (images, static files, video) # - redirect request to appropirate service (reverse proxy) # - be the one that handles TLS/SSL (basically HTTPS) # - other stuff I don't know yet nginx: build: ./nginx container_name: nginx restart: always networks: - transcendance-network ports: - '8888:443' volumes: # if you need to share files with nginx, you do it here. - images-volume:/volumes/icons # - static-volume:/volumes/static environment: # this can stay the same for developpement. This is an alias to `localhost` - NGINX_DOMAIN=local.maix.me ############### # ICONS # ############### icons: build: context: ./src/ args: - SERVICE=icons #- EXTRA_FILES=icons/extra container_name: icons restart: always networks: - transcendance-network volumes: - images-volume:/store - sqlite-volume:/database environment: - USER_ICONS_STORE=/store - DATABASE_DIR=/database ############### # AUTH # ############### auth: build: context: ./src/ args: - SERVICE=auth #- EXTRA_FILES=icons/extra container_name: auth restart: always networks: - transcendance-network volumes: - sqlite-volume:/database environment: - DATABASE_DIR=/database volumes: images-volume: sqlite-volume: static-volume: