Questions tagged [docker-compose]

Compose is a tool for defining and running multi-container Docker applications.

Docker Compose is a tool for defining and running multi-container Docker applications.

529 questions
1
vote
0 answers

Docker for private server

I want to set up a server (Ubuntu V-Server) for a few people. I'm planning to run a few applications e.g. GitLab, NextCloud, and Seafile. What are the advantages of orchestrating these apps (and their dependencies like PostgreSQL) in containers via…
krumbi
  • 111
  • 2
1
vote
0 answers

Differences of Docker vs. Docker-Compose attaching to user-defined bridged network

Environment I'm trying to setup User-Machine: dockerized VNC-connected containers (in Docker network vm_network) for different purposes These should be connected by the user using Guac: Apache Guacamole Web-Frontend (in Docker network…
1
vote
2 answers

Changing port of mariadb in docker-compose

I run a number of WordPress sites using docker-compose (and nginx-proxy). So I can use the same docker-compose file for each site I use .env. I want each of the MariaDB containers to use different ports (as they are sharing the same external docker…
Ben Edwards
  • 301
  • 3
  • 12
1
vote
1 answer

SSH connection not working in gitea

I have setup gitea using docker-compose, External SSH port of my machine is 4444 which I set in sshd_config version: '2' volumes: gitea: postgres: networks: gitea: external: false services: server: image: gitea/gitea:latest …
Shaz Hemani
  • 131
  • 1
  • 6
1
vote
1 answer

Docker-compose // OCI runtime create failed // pthread_create failed

Recently I have rent a VPS as private playground and for learning docker. I want to host a few webservices behind nginx-proxy together with docker-letsencrypt-nginx-proxy-companion. Setup The Server runs Ubuntu 18.04.4 LTS, Docker version 19.03.6,…
void
  • 178
  • 9
1
vote
0 answers

Docker external network affecting local host network on container restart : ERR_NETWORK_CHANGED

I am facing a weird issue with the docker networks. I am using an external network of bridge type named extenal_network in my docker containers with auto-restart enabled. I am not able to access my host network if any of the containers restarts due…
1
vote
1 answer

Nginx 301 redirect with nginx-proxy and nginx-proxy-companion

I'm using something like this docker-compose.yml file. version: '3' services: httpd: image: httpd:alpine environment: - VIRTUAL_HOST=example.com,www.example.com - LETSENCRYPT_HOST=example.com,www.example.com -…
MB4E
  • 121
  • 5
1
vote
1 answer

Docker volume error read-only file system\\\"\"": unknown

Context I am experiencing something strange while integrating promtail to my stack ERROR: for asmodius_promtail Cannot start service promtail: OCI runtime create failed: container_linux.go:349: starting container process caused…
zar3bski
  • 133
  • 1
  • 2
  • 9
1
vote
1 answer

Docker Compose file — limit restart count

In my docker-compose.yaml I am saying to alway restart app service app: build: . image: app:latest ports: - 3000:3000 restart: always volumes: - "./:/usr/src/app" This works, but in case of permanent error (eg.…
Mailo Světel
  • 213
  • 3
  • 10
1
vote
1 answer

Database Is lost when Docker Container is stopped. How to recover?

I have the following compose file, from this project: version: "3" volumes: static-files: driver: local postgres: driver: local services: db: image: postgres:11.1 volumes: -…
1
vote
1 answer

Backup of dockerized Wordpress

I want to backup a dockerized wordpress. Ordinarily I'd restore a docker app from backups like this: spin up a new database container restore a sql dump to the database container spin up a new app container copy backup files to app container (e.g.…
lonix
  • 757
  • 9
  • 20
1
vote
0 answers

Nginx reverse proxy without changing web application

I'm currently running a docker-compose application with an nginx in front, accessing 3 separate docker applications (flask api, angular, jupyter notebook). I have it currently working where localhost/api, localhost/dev, and localhost/jupyter is set…
A H
  • 11
  • 1
1
vote
1 answer

IPv6 connectivity suddenly disappears

In the environment specified below IPv4 purrs like a cat, but IPv6 vanishes after a short time – i.e. even the host can't reach its container via IPv6 over the Docker network. Did I miss something? Edit #1 Replaced 64:ff9b:: w/ something global, but…
Al Klimov
  • 88
  • 8
0
votes
1 answer

nginx hangs some POST requests for a while

I have the following stack running on Ubuntu 18.08 and defined as docker-compose: instance of mariadb:10.3.20 custom wordpress instance based on wordpress:5.3.0-php7.2 with installed ioncube on it custom nginx instance based on nginx:1.13 with…
nKognito
  • 117
  • 6
0
votes
1 answer

Docker compose restart policy

I know about the docker compose restart policy, i have Alfresco 6.2 image i want to make it start automatically when server reboot, but i dont know when to add the lines in the docker-compose.yml this is the file: # This docker-compose file will…
Ayoub Skikra
  • 1
  • 1
  • 1