services: app: build: context: . dockerfile: Dockerfile args: - USERNAME=${USERNAME} - UID=${USER_ID} - GID=${GROUP_ID} - PORT=${PORT:-7070} labels: - "maintainer=iratusmachina" image: appimage/gocustomurls logging: driver: journald container_name: gocustomurls_app ports: - "7070:7070" volumes: - ${PWD}/otherfiles:/home/${USERNAME}